package com.coscon.service;

import com.coscon.model.db.WakeUpConfig;

import java.util.List;

public interface WakeUpService {

    /**
     * 保存网络唤醒的配置
     * @param mac
     * @param hostname
     * @return
     */
    boolean saveWakeUpConfig(String mac,String hostname);

    //根据mac获取
    WakeUpConfig getWakeUpConfigByMac(String mac);

    //获取网络唤醒配置集合
    List<WakeUpConfig> getWakeUpConfigList();

    boolean deleteById(String dataId
    );

}
